package com.benmei.weike.dao;

import com.benmei.weike.entity.VersionUpgrade;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface VersionUpgradeDao {
    int insert(@Param("pojo") VersionUpgrade pojo);

    int insertSelective(@Param("pojo") VersionUpgrade pojo);

    int insertList(@Param("pojos") List<VersionUpgrade> pojo);

    int update(@Param("pojo") VersionUpgrade pojo);

    VersionUpgrade find(@Param("pojo") VersionUpgrade versionUpgrade);
}
